You are here: COM API reference > Events > BeforeInvoke event

BeforeInvoke event

This event occurs just before a shell command is invoked for a document.

Syntax

Private Sub AMUIExtension_BeforeInvoke(
          ByVal Object As Object,
          ByVal Verb As Variant,
          Abort As Boolean)
Parameters
Name Description

Object

The document for which an operation has been invoked.

Verb

A string describing the operation that has been invoked. See Remarks.

Abort

Setting this argument to True will abort the invoked operation. The AfterInvoke event will not occur.

Remarks

Operations that can be invoked on a documents are defined by the operating system. Typical examples are Open, Edit, and Print.

The equivalent VBScript event is the OpenInApplication script event. See the BlueCielo Meridian Enterprise VBScript API Reference for more information.


www.bluecieloecm.com